package com.jwsoft.manager.common.enums;
/**
 * @author chenzh
 * @date 2022-03-10
 * @description
 **/
public enum EduSyncDyStatusEnum {
    DSH("0", "待审核"),
    DLQ("1", "待录取"),
    YLQ("2", "已录取"),
    YWBLQ("3", "业务不录取"),
    XTBLQ("4", "系统不录取"),
    ;

    private String type;
    private String name;

    EduSyncDyStatusEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static EduSyncDyStatusEnum getByType(String type) {

        for (EduSyncDyStatusEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
